# Description: Temel Lineer Cebir Altprogramları
# URL: http://www.netlib.org/blas
# Packager: milisarge
# Depends on: cmake

name=lapack
version=3.5.0
release=1

source=(http://www.netlib.org/$name/$name-$version.tgz )

build() {
	cd $name-$version
	mkdir build
	cd build
	cmake .. \
	-DCMAKE_BUILD_TYPE=Release \
	-DCMAKE_SKIP_RPATH=ON \
	-DBUILD_SHARED_LIBS=ON \
	-DCMAKE_INSTALL_PREFIX=/usr \
	-DCMAKE_Fortran_COMPILER=gfortran \
	-DLAPACKE=ON
	make
	make DESTDIR=$PKG install
}
